From 7756f499950cd77d6b8db70a8d49309c459c7cd2 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 28 Nov 2011 09:12:28 +0100 Subject: [PATCH] Fix up makefile rules for parallel builds The gtkwin32css.h generation code used a temporary filename that was also used by some other files, which is racy. Use a unique one. --- gtk/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 083252fd8c..f082677b8e 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -913,9 +913,9 @@ gtkmarshalers.c: @REBUILD@ gtkmarshalers.list gtkwin32css.h: stamp-gtkwin32css.h @true stamp-gtkwin32css.h: @REBUILD@ gtk-win32.css - $(AWK) 'BEGIN { print "static const char *gtk_win32_default_css = " } { print " \"" $$0 "\\n\""} END { print ";" }' < $(srcdir)/gtk-win32.css >> xgen-gmlh\ - && (cmp -s xgen-gmlh gtkwin32css.h || cp xgen-gmlh gtkwin32css.h) \ - && rm -f xgen-gmlh \ + $(AWK) 'BEGIN { print "static const char *gtk_win32_default_css = " } { print " \"" $$0 "\\n\""} END { print ";" }' < $(srcdir)/gtk-win32.css >> xgen-gw3c\ + && (cmp -s xgen-gw3c gtkwin32css.h || cp xgen-gw3c gtkwin32css.h) \ + && rm -f xgen-gw3c \ && echo timestamp > $(@F) gtktypebuiltins.h: stamp-gtktypebuiltins.h -- 2.30.2